import Layout from "/@/page/Layout/index.vue";
import { RouteRecordRaw } from "vue-router";
import { hadAuthMeta } from "/@/router/config";
const routes: RouteRecordRaw[] = [
  {
    path: "/admin",
    name: "系统配置",
    meta: hadAuthMeta,
    redirect: "/admin/menu",
    component: Layout,
    children: [
      {
        path: "menu",
        name: "菜单管理",
        meta: hadAuthMeta,
        component: () => import("/@/views/admin/menu/index.vue"),
      },
    ],
  },
];
export default routes;
